﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Win32;

namespace FennecUI
{
    public static class Configuration
    {
        public const string APPLET_CONFIGURATION_FILE = "AppletConfiguration.xml";

        /*public static string parsePath(string path,AppletConfiguration applet = null)
        {
            string installDir = Registry.LocalMachine.OpenSubKey("Software\\touchswipe-dev\\FennecUI").GetValue("InstallDir") as string;

            string result=path;
            
            if (applet!=null)
            {
                result.Replace("$APPLET_DIR", @"$APPLETS_STORE\" + applet.Name);
            }

            result.Replace("$APPLETS_STORE", installDir+@"\Applets");

            return result;
        }*/
    }
}
